.class Lcom/waiqin365/lightapp/kaoqin/aa;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kaoqin/aa;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/aa;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->dismissProgressDialog()V

    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    iget v0, p1, Landroid/os/Message;->what:I

    packed-switch v0, :pswitch_data_0

    :goto_0
    return-void

    :pswitch_0
    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/c/b/h;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kaoqin/c/b/h;->b()Z

    move-result v1

    if-eqz v1, :cond_0

    const-string/jumbo v1, "1"

    iget-object v2, v0, Lcom/waiqin365/lightapp/kaoqin/c/b/h;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/aa;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kaoqin/c/b/h;->c:Lorg/json/JSONObject;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a(Lorg/json/JSONObject;)V

    goto :goto_0

    :cond_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/aa;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Landroid/content/Context;

    move-result-object v1

    iget-object v2, v0, Lcom/waiqin365/lightapp/kaoqin/c/b/h;->b:Ljava/lang/String;

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/aa;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    const v2, 0x7f0802c1

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->getString(I)Ljava/lang/String;

    move-result-object v0

    :goto_1
    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/aa;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->finish()V

    goto :goto_0

    :cond_1
    iget-object v0, v0, Lcom/waiqin365/lightapp/kaoqin/c/b/h;->b:Ljava/lang/String;

    goto :goto_1

    :pswitch_1
    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/c/b/g;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kaoqin/c/b/g;->b()Z

    move-result v1

    if-eqz v1, :cond_4

    const-string/jumbo v1, "1"

    iget-object v2, v0, Lcom/waiqin365/lightapp/kaoqin/c/b/g;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_4

    iget-object v1, v0, Lcom/waiqin365/lightapp/kaoqin/c/b/g;->b:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_2

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/aa;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->b(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Landroid/content/Context;

    move-result-object v1

    iget-object v2, v0, Lcom/waiqin365/lightapp/kaoqin/c/b/g;->b:Ljava/lang/String;

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/aa;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    const v2, 0x7f0805db

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->getString(I)Ljava/lang/String;

    move-result-object v0

    :goto_2
    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/aa;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    const/4 v1, 0x7

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->setResult(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/aa;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->finish()V

    goto/16 :goto_0

    :cond_3
    iget-object v0, v0, Lcom/waiqin365/lightapp/kaoqin/c/b/g;->b:Ljava/lang/String;

    goto :goto_2

    :cond_4
    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/aa;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->c(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Landroid/content/Context;

    move-result-object v1

    iget-object v2, v0, Lcom/waiqin365/lightapp/kaoqin/c/b/g;->b:Ljava/lang/String;

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/aa;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    const v2, 0x7f0806ae

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->getString(I)Ljava/lang/String;

    move-result-object v0

    :goto_3
    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_5
    iget-object v0, v0, Lcom/waiqin365/lightapp/kaoqin/c/b/g;->b:Ljava/lang/String;

    goto :goto_3

    :pswitch_data_0
    .packed-switch 0x23
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method
